﻿@if (Html.ValidationSummary() != null) {
    <div class="alert alert-dismissable alert-danger">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
        <strong>@T("Error")</strong>
        <p>@Html.ValidationSummary()</p>
    </div>
}

<h1>@Html.TitleForPage(T("Lost Password").ToString())</h1>
<p>@T("Please enter your username or email address. You will receive a link to create a new password via email.")</p>
@using (Html.BeginFormAntiForgeryPost()) { 
    <fieldset>
        <legend>@T("Account Information")</legend>
        <div>
            <label for="username">@T("Username or E-mail:")</label>
            @Html.TextBox("username", null, new { @class = "validate[required,ajax[ajaxUserNameEmail]]" })
            @Html.ValidationMessage("username")
        </div>
        <div>
            <button class="primaryAction" type="submit">@T("Send Request")</button>
        </div>
    </fieldset>
}